﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="ThemLK.aspx.cs" Inherits="admin_ThemLK" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 160px">
                Tên Linh kiện</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" Width="309px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 160px; height: 26px">
                Giá Bán</td>
            <td style="height: 26px">
                <asp:TextBox ID="TextBox2" runat="server" Width="309px"></asp:TextBox>
            </td>
            <td style="height: 26px">
            </td>
        </tr>
        <tr>
            <td style="width: 160px">
                Hình ảnh</td>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" Height="32px" Width="238px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style1" style="height: 19px; width: 160px">
                Số Lượng</td>
            <td class="style1" style="height: 19px">
                <asp:TextBox ID="TextBox3" runat="server" Width="309px"></asp:TextBox>
            </td>
            <td class="style1" style="height: 19px">
            </td>
        </tr>
        <tr>
            <td style="height: 16px; width: 160px">
                Loại LK</td>
            <td style="height: 16px">
                <asp:DropDownList ID="DropDownList1" runat="server" Height="33px" Width="120px" 
                    DataSourceID="SqlDataSource1" DataTextField="LoaiLK" DataValueField="LoaiLK">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:maytinhxachtayConnectionString %>" 
                    SelectCommand="SELECT DISTINCT [LoaiLK] FROM [LinhKien]">
                </asp:SqlDataSource>
            </td>
            <td style="height: 16px">
            </td>
        </tr>
        <tr>
            <td style="height: 16px; width: 160px">
                <asp:Button ID="BtAdd" runat="server" Text="Add" />
            </td>
            <td style="height: 16px">
                <asp:Button ID="BtCan" runat="server" Text="Cancel" />
            </td>
            <td style="height: 16px">
                &nbsp;</td>
        </tr>
    </table>
    </form>
</asp:Content>

